package com.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PlainrecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public PlainrecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPridIsNull() {
            addCriterion("PRID is null");
            return (Criteria) this;
        }

        public Criteria andPridIsNotNull() {
            addCriterion("PRID is not null");
            return (Criteria) this;
        }

        public Criteria andPridEqualTo(Integer value) {
            addCriterion("PRID =", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotEqualTo(Integer value) {
            addCriterion("PRID <>", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridGreaterThan(Integer value) {
            addCriterion("PRID >", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRID >=", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridLessThan(Integer value) {
            addCriterion("PRID <", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridLessThanOrEqualTo(Integer value) {
            addCriterion("PRID <=", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridIn(List<Integer> values) {
            addCriterion("PRID in", values, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotIn(List<Integer> values) {
            addCriterion("PRID not in", values, "prid");
            return (Criteria) this;
        }

        public Criteria andPridBetween(Integer value1, Integer value2) {
            addCriterion("PRID between", value1, value2, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotBetween(Integer value1, Integer value2) {
            addCriterion("PRID not between", value1, value2, "prid");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("CID is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("CID is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(String value) {
            addCriterion("CID =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(String value) {
            addCriterion("CID <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(String value) {
            addCriterion("CID >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(String value) {
            addCriterion("CID >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(String value) {
            addCriterion("CID <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(String value) {
            addCriterion("CID <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLike(String value) {
            addCriterion("CID like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotLike(String value) {
            addCriterion("CID not like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<String> values) {
            addCriterion("CID in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<String> values) {
            addCriterion("CID not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(String value1, String value2) {
            addCriterion("CID between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(String value1, String value2) {
            addCriterion("CID not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andDidIsNull() {
            addCriterion("DID is null");
            return (Criteria) this;
        }

        public Criteria andDidIsNotNull() {
            addCriterion("DID is not null");
            return (Criteria) this;
        }

        public Criteria andDidEqualTo(String value) {
            addCriterion("DID =", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotEqualTo(String value) {
            addCriterion("DID <>", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThan(String value) {
            addCriterion("DID >", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThanOrEqualTo(String value) {
            addCriterion("DID >=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThan(String value) {
            addCriterion("DID <", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThanOrEqualTo(String value) {
            addCriterion("DID <=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLike(String value) {
            addCriterion("DID like", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotLike(String value) {
            addCriterion("DID not like", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidIn(List<String> values) {
            addCriterion("DID in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotIn(List<String> values) {
            addCriterion("DID not in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidBetween(String value1, String value2) {
            addCriterion("DID between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotBetween(String value1, String value2) {
            addCriterion("DID not between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andBegindateIsNull() {
            addCriterion("BEGINDATE is null");
            return (Criteria) this;
        }

        public Criteria andBegindateIsNotNull() {
            addCriterion("BEGINDATE is not null");
            return (Criteria) this;
        }

        public Criteria andBegindateEqualTo(Date value) {
            addCriterion("BEGINDATE =", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotEqualTo(Date value) {
            addCriterion("BEGINDATE <>", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateGreaterThan(Date value) {
            addCriterion("BEGINDATE >", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateGreaterThanOrEqualTo(Date value) {
            addCriterion("BEGINDATE >=", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateLessThan(Date value) {
            addCriterion("BEGINDATE <", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateLessThanOrEqualTo(Date value) {
            addCriterion("BEGINDATE <=", value, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateIn(List<Date> values) {
            addCriterion("BEGINDATE in", values, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotIn(List<Date> values) {
            addCriterion("BEGINDATE not in", values, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateBetween(Date value1, Date value2) {
            addCriterion("BEGINDATE between", value1, value2, "begindate");
            return (Criteria) this;
        }

        public Criteria andBegindateNotBetween(Date value1, Date value2) {
            addCriterion("BEGINDATE not between", value1, value2, "begindate");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNull() {
            addCriterion("ENDDATE is null");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNotNull() {
            addCriterion("ENDDATE is not null");
            return (Criteria) this;
        }

        public Criteria andEnddateEqualTo(Date value) {
            addCriterion("ENDDATE =", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotEqualTo(Date value) {
            addCriterion("ENDDATE <>", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThan(Date value) {
            addCriterion("ENDDATE >", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThanOrEqualTo(Date value) {
            addCriterion("ENDDATE >=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThan(Date value) {
            addCriterion("ENDDATE <", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThanOrEqualTo(Date value) {
            addCriterion("ENDDATE <=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateIn(List<Date> values) {
            addCriterion("ENDDATE in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotIn(List<Date> values) {
            addCriterion("ENDDATE not in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateBetween(Date value1, Date value2) {
            addCriterion("ENDDATE between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotBetween(Date value1, Date value2) {
            addCriterion("ENDDATE not between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieIsNull() {
            addCriterion("TARGETCALORIE is null");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieIsNotNull() {
            addCriterion("TARGETCALORIE is not null");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieEqualTo(Integer value) {
            addCriterion("TARGETCALORIE =", value, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieNotEqualTo(Integer value) {
            addCriterion("TARGETCALORIE <>", value, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieGreaterThan(Integer value) {
            addCriterion("TARGETCALORIE >", value, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieGreaterThanOrEqualTo(Integer value) {
            addCriterion("TARGETCALORIE >=", value, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieLessThan(Integer value) {
            addCriterion("TARGETCALORIE <", value, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieLessThanOrEqualTo(Integer value) {
            addCriterion("TARGETCALORIE <=", value, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieIn(List<Integer> values) {
            addCriterion("TARGETCALORIE in", values, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieNotIn(List<Integer> values) {
            addCriterion("TARGETCALORIE not in", values, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieBetween(Integer value1, Integer value2) {
            addCriterion("TARGETCALORIE between", value1, value2, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetcalorieNotBetween(Integer value1, Integer value2) {
            addCriterion("TARGETCALORIE not between", value1, value2, "targetcalorie");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinIsNull() {
            addCriterion("TARGETSMPORTEIN is null");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinIsNotNull() {
            addCriterion("TARGETSMPORTEIN is not null");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinEqualTo(Integer value) {
            addCriterion("TARGETSMPORTEIN =", value, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinNotEqualTo(Integer value) {
            addCriterion("TARGETSMPORTEIN <>", value, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinGreaterThan(Integer value) {
            addCriterion("TARGETSMPORTEIN >", value, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinGreaterThanOrEqualTo(Integer value) {
            addCriterion("TARGETSMPORTEIN >=", value, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinLessThan(Integer value) {
            addCriterion("TARGETSMPORTEIN <", value, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinLessThanOrEqualTo(Integer value) {
            addCriterion("TARGETSMPORTEIN <=", value, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinIn(List<Integer> values) {
            addCriterion("TARGETSMPORTEIN in", values, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinNotIn(List<Integer> values) {
            addCriterion("TARGETSMPORTEIN not in", values, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinBetween(Integer value1, Integer value2) {
            addCriterion("TARGETSMPORTEIN between", value1, value2, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTargetsmporteinNotBetween(Integer value1, Integer value2) {
            addCriterion("TARGETSMPORTEIN not between", value1, value2, "targetsmportein");
            return (Criteria) this;
        }

        public Criteria andTarsugarIsNull() {
            addCriterion("TARSUGAR is null");
            return (Criteria) this;
        }

        public Criteria andTarsugarIsNotNull() {
            addCriterion("TARSUGAR is not null");
            return (Criteria) this;
        }

        public Criteria andTarsugarEqualTo(Integer value) {
            addCriterion("TARSUGAR =", value, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarNotEqualTo(Integer value) {
            addCriterion("TARSUGAR <>", value, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarGreaterThan(Integer value) {
            addCriterion("TARSUGAR >", value, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarGreaterThanOrEqualTo(Integer value) {
            addCriterion("TARSUGAR >=", value, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarLessThan(Integer value) {
            addCriterion("TARSUGAR <", value, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarLessThanOrEqualTo(Integer value) {
            addCriterion("TARSUGAR <=", value, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarIn(List<Integer> values) {
            addCriterion("TARSUGAR in", values, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarNotIn(List<Integer> values) {
            addCriterion("TARSUGAR not in", values, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarBetween(Integer value1, Integer value2) {
            addCriterion("TARSUGAR between", value1, value2, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andTarsugarNotBetween(Integer value1, Integer value2) {
            addCriterion("TARSUGAR not between", value1, value2, "tarsugar");
            return (Criteria) this;
        }

        public Criteria andCalorieresultIsNull() {
            addCriterion("CALORIEresult is null");
            return (Criteria) this;
        }

        public Criteria andCalorieresultIsNotNull() {
            addCriterion("CALORIEresult is not null");
            return (Criteria) this;
        }

        public Criteria andCalorieresultEqualTo(Integer value) {
            addCriterion("CALORIEresult =", value, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultNotEqualTo(Integer value) {
            addCriterion("CALORIEresult <>", value, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultGreaterThan(Integer value) {
            addCriterion("CALORIEresult >", value, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultGreaterThanOrEqualTo(Integer value) {
            addCriterion("CALORIEresult >=", value, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultLessThan(Integer value) {
            addCriterion("CALORIEresult <", value, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultLessThanOrEqualTo(Integer value) {
            addCriterion("CALORIEresult <=", value, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultIn(List<Integer> values) {
            addCriterion("CALORIEresult in", values, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultNotIn(List<Integer> values) {
            addCriterion("CALORIEresult not in", values, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultBetween(Integer value1, Integer value2) {
            addCriterion("CALORIEresult between", value1, value2, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andCalorieresultNotBetween(Integer value1, Integer value2) {
            addCriterion("CALORIEresult not between", value1, value2, "calorieresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultIsNull() {
            addCriterion("SMPORTEINresult is null");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultIsNotNull() {
            addCriterion("SMPORTEINresult is not null");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultEqualTo(Integer value) {
            addCriterion("SMPORTEINresult =", value, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultNotEqualTo(Integer value) {
            addCriterion("SMPORTEINresult <>", value, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultGreaterThan(Integer value) {
            addCriterion("SMPORTEINresult >", value, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultGreaterThanOrEqualTo(Integer value) {
            addCriterion("SMPORTEINresult >=", value, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultLessThan(Integer value) {
            addCriterion("SMPORTEINresult <", value, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultLessThanOrEqualTo(Integer value) {
            addCriterion("SMPORTEINresult <=", value, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultIn(List<Integer> values) {
            addCriterion("SMPORTEINresult in", values, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultNotIn(List<Integer> values) {
            addCriterion("SMPORTEINresult not in", values, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultBetween(Integer value1, Integer value2) {
            addCriterion("SMPORTEINresult between", value1, value2, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSmporteinresultNotBetween(Integer value1, Integer value2) {
            addCriterion("SMPORTEINresult not between", value1, value2, "smporteinresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultIsNull() {
            addCriterion("SUGARresult is null");
            return (Criteria) this;
        }

        public Criteria andSugarresultIsNotNull() {
            addCriterion("SUGARresult is not null");
            return (Criteria) this;
        }

        public Criteria andSugarresultEqualTo(Integer value) {
            addCriterion("SUGARresult =", value, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultNotEqualTo(Integer value) {
            addCriterion("SUGARresult <>", value, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultGreaterThan(Integer value) {
            addCriterion("SUGARresult >", value, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultGreaterThanOrEqualTo(Integer value) {
            addCriterion("SUGARresult >=", value, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultLessThan(Integer value) {
            addCriterion("SUGARresult <", value, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultLessThanOrEqualTo(Integer value) {
            addCriterion("SUGARresult <=", value, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultIn(List<Integer> values) {
            addCriterion("SUGARresult in", values, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultNotIn(List<Integer> values) {
            addCriterion("SUGARresult not in", values, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultBetween(Integer value1, Integer value2) {
            addCriterion("SUGARresult between", value1, value2, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andSugarresultNotBetween(Integer value1, Integer value2) {
            addCriterion("SUGARresult not between", value1, value2, "sugarresult");
            return (Criteria) this;
        }

        public Criteria andPlstateIsNull() {
            addCriterion("plstate is null");
            return (Criteria) this;
        }

        public Criteria andPlstateIsNotNull() {
            addCriterion("plstate is not null");
            return (Criteria) this;
        }

        public Criteria andPlstateEqualTo(String value) {
            addCriterion("plstate =", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateNotEqualTo(String value) {
            addCriterion("plstate <>", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateGreaterThan(String value) {
            addCriterion("plstate >", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateGreaterThanOrEqualTo(String value) {
            addCriterion("plstate >=", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateLessThan(String value) {
            addCriterion("plstate <", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateLessThanOrEqualTo(String value) {
            addCriterion("plstate <=", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateLike(String value) {
            addCriterion("plstate like", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateNotLike(String value) {
            addCriterion("plstate not like", value, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateIn(List<String> values) {
            addCriterion("plstate in", values, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateNotIn(List<String> values) {
            addCriterion("plstate not in", values, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateBetween(String value1, String value2) {
            addCriterion("plstate between", value1, value2, "plstate");
            return (Criteria) this;
        }

        public Criteria andPlstateNotBetween(String value1, String value2) {
            addCriterion("plstate not between", value1, value2, "plstate");
            return (Criteria) this;
        }

        public Criteria andCappraiseIsNull() {
            addCriterion("cappraise is null");
            return (Criteria) this;
        }

        public Criteria andCappraiseIsNotNull() {
            addCriterion("cappraise is not null");
            return (Criteria) this;
        }

        public Criteria andCappraiseEqualTo(String value) {
            addCriterion("cappraise =", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseNotEqualTo(String value) {
            addCriterion("cappraise <>", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseGreaterThan(String value) {
            addCriterion("cappraise >", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseGreaterThanOrEqualTo(String value) {
            addCriterion("cappraise >=", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseLessThan(String value) {
            addCriterion("cappraise <", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseLessThanOrEqualTo(String value) {
            addCriterion("cappraise <=", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseLike(String value) {
            addCriterion("cappraise like", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseNotLike(String value) {
            addCriterion("cappraise not like", value, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseIn(List<String> values) {
            addCriterion("cappraise in", values, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseNotIn(List<String> values) {
            addCriterion("cappraise not in", values, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseBetween(String value1, String value2) {
            addCriterion("cappraise between", value1, value2, "cappraise");
            return (Criteria) this;
        }

        public Criteria andCappraiseNotBetween(String value1, String value2) {
            addCriterion("cappraise not between", value1, value2, "cappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseIsNull() {
            addCriterion("dappraise is null");
            return (Criteria) this;
        }

        public Criteria andDappraiseIsNotNull() {
            addCriterion("dappraise is not null");
            return (Criteria) this;
        }

        public Criteria andDappraiseEqualTo(String value) {
            addCriterion("dappraise =", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseNotEqualTo(String value) {
            addCriterion("dappraise <>", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseGreaterThan(String value) {
            addCriterion("dappraise >", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseGreaterThanOrEqualTo(String value) {
            addCriterion("dappraise >=", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseLessThan(String value) {
            addCriterion("dappraise <", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseLessThanOrEqualTo(String value) {
            addCriterion("dappraise <=", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseLike(String value) {
            addCriterion("dappraise like", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseNotLike(String value) {
            addCriterion("dappraise not like", value, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseIn(List<String> values) {
            addCriterion("dappraise in", values, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseNotIn(List<String> values) {
            addCriterion("dappraise not in", values, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseBetween(String value1, String value2) {
            addCriterion("dappraise between", value1, value2, "dappraise");
            return (Criteria) this;
        }

        public Criteria andDappraiseNotBetween(String value1, String value2) {
            addCriterion("dappraise not between", value1, value2, "dappraise");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}